﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EAppointment.DataSets;

namespace EAppointment.Models
{
    public class BaseUserInfo
    {
        private UserSet.TB_BaseUserInfoRow Row;
        public BaseUserInfo(UserSet.TB_BaseUserInfoRow Row)
        {
            this.Row = Row;
        }
        public long ID { get { return Row.User_ID; } }
        public string Email { get { return Row.User_Email; } }
        public string Phone { get { return Row.User_Phone; } }
        public string TrueName { get { return Row.User_TrueName; } }
        public string RegisterDate { get { return Row.User_RegisterDate.ToString("yyyy-MM-dd HH:mm:ss"); } }
    }
}